<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
	<input type="button" value="返回上一级" onclick="location.href= '{%url 'luck:list' %}'">

	<h1>充值记录</h1>
	<ul>
		{% for i in all %}
		<li>
			用户名：{{ i.user_id.username }}
			变动的金额：{{ i.change_morey }}
			变动的类型：{{ i.change_type }}
			资金变动的时间：{{ i.change_time|date:"Y-m-d H:i:s" }}
		</li>
		{%endfor%}
	</ul>
	
</body>
</html>